import re

temp = "罗杰是it男，现在想租房子"

def keyword_filter(txt):
   isInclude = True
   string_keyword=['租1房']
   for i in range(len(string_keyword)):
       result =  re.findall(string_keyword[i], txt)

       if len(result) == 0:
           isInclude = False
       else:
           isInclude = True

   return isInclude



print(keyword_filter(temp))